package day12.afternoon1;

/**
 * 鸟类
 */
public class Bird implements Fly{
    /** 颜色 */
    private String colour;
    /** 鸟的种类 */
    private String type;
    public Bird(){}
    public Bird(String colour,String type){
        this.colour = colour;
        this.type = type;
    }
    @Override
    public void fly() {
        System.out.println(this.type + "飞");
    }
}
